package cn.touna.jss.modules.third.chexingyi.entity;


import cn.touna.risk.api.contraints.facet.First;
import cn.touna.risk.api.domain.BaseDomain;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 车行易：请求参数
 */
public class CheXingYiRequestEntity extends BaseDomain {

    /**
     * 车辆类型：建议传，不传则默认为02小车查询
     */
    private String carType;

    @NotBlank(message = "车牌号码不能为空", groups = {First.class})
    private String carNumber;

    /**
     * 车架号
     */
    private String carCode;

    /**
     * 发动机号
     */
    @NotBlank(message = "发动机号不能为空", groups = {First.class})
    private String carDriveNumber;


    /**
     * 数据来源省份编码（国标），留空则默认查询车牌归属地数据
     */
    private String provinceId;

    /**
     * 数据来源城市编码,直辖市为2位，其他为4位以上，留空则默认查询车牌归属地数据
     */
    private String cityId;

    /**
     * 车辆所有人
     */
    private String carOwner;

    /**
     * 版本号（默认为1）1：不需要校验用户输入
     */
    private String version;

    /**
     * 时间轴yyyyMMddhhmmss（如：20130826155230）
     */
    private String timeAxis;

    public String getCarType() {
        return carType;
    }

    public void setCarType(String carType) {
        this.carType = carType;
    }

    public String getCarNumber() {
        return carNumber;
    }

    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber;
    }

    public String getCarCode() {
        return carCode;
    }

    public void setCarCode(String carCode) {
        this.carCode = carCode;
    }

    public String getCarDriveNumber() {
        return carDriveNumber;
    }

    public void setCarDriveNumber(String carDriveNumber) {
        this.carDriveNumber = carDriveNumber;
    }

    public String getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(String provinceId) {
        this.provinceId = provinceId;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public String getCarOwner() {
        return carOwner;
    }

    public void setCarOwner(String carOwner) {
        this.carOwner = carOwner;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getTimeAxis() {
        return timeAxis;
    }

    public void setTimeAxis(String timeAxis) {
        this.timeAxis = timeAxis;
    }
}
